package com.zxmr.utility.dto;

import java.util.HashMap;
import java.util.Map;

public class ResourceAuthDTO {

	String role;
	int roleId;
	Map<String,Boolean> actions = new HashMap<String,Boolean>();
	
	public String getRole() { 
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	public int getRoleId() {
		return roleId;
	}
	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}
	public Map<String, Boolean> getActions() {
		return actions;
	}
	public void addAction(String action)
	{
		actions.put(action, true);
	}

}
